/**
 * Created by arvin on 2017/3/30 0030.
 */
import React,{Component} from 'react';
import { Breadcrumb, Icon } from 'antd';
export default class MyBread extends Component{
    render(){
        let {type,page} =this.props;
        return(
            <Breadcrumb>
                <Breadcrumb.Item href="">
                    <Icon type="home" />
                    Home
                </Breadcrumb.Item>
                <Breadcrumb.Item href="">
                    <Icon type={type} />
                    <span>{page}</span>
                </Breadcrumb.Item>
             </Breadcrumb>
        )
    }

}